package cn.kelvin.adapter;

import java.io.IOException;

public class Main {
	public static void main(String[] args) throws IOException {
//		try {
//			Integer n = Integer.parseInt(String.valueOf(' '));
//			System.out.println(n);
//		} catch (NumberFormatException e) {
//			System.out.println("ffff");
//			e.printStackTrace();
//		}
		
		TokenStream ts = new MyTokenStream(System.in);
		while(ts.getToken().tokenType != Token.TokenType.NONE){
			System.out.println(ts.getToken());
			ts.consumeToken();
		}
	}
}
